import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'functional',
  name: 'functional',
  component: routerPlaceholder,
  redirect: {
    name: "funcTest"
  },
  children: [{
    path: 'drawing',
    name: 'drawing',
    component: () => import('@/views/functional/drawing/index.vue'),
    meta: {
      activeMenu: 'drawing',
      title: 'drawing',
      icon: 'drawing',
      affix: true
    }
  },{
    path: 'test',
    name: 'funcTest',
    component: () => import('@/views/functional/test/index.vue'),
    meta: {
      activeMenu: 'funcTest',
      title: '测试',
      icon: 'funcTest',
      affix: true
    }
  }]
}

export default routers
